import axios from '../api';
// 分享获取配置信息

export const getConfig = data =>
  axios("/api/getConfig", data, 'GET');

// 获取话题主题
export const getTopicDetail = data =>
  axios('/api/getTopicDetail', data, 'GET')


// 参加主题
export const join = data =>
  axios('/api/join_topic', data, 'POST')

// 获取众筹须知等
export const getInfo = data=>
  axios('/api/getInfo',data,'GET')

// 获取我的众筹信息
export const getList = data=>
  axios('/api/getList',data,'GET')

// 获取众筹列表
export const getOrder = data =>
  axios('/api/getOrder',data,'GET')

// 获取报名相关
export const getTotal = data =>
  axios('/api/getTotal',data,'GET')

// 提交订单
export const pay = data => 
  axios('/api/pay',data,'POST')
export const search